export default {
	data() {
		return {
			// 默认的全局分享内容
			share: {
				title: '晓恩小儿推拿推拿馆',
				path: 'pages/home/appointmentHome/appointmentHome',
				imageUrl: 'https://yf-myblog.oss-cn-shenzhen.aliyuncs.com/public/blogArticles/2023-05-29/1685327307.jpeg'
			}
		}
	},
	// 定义全局分享
	// 1.发送给朋友
    onShareAppMessage(res) {
        return {
			title: this.share.title,
			path: this.share.path,
			imageUrl: this.share.imageUrl,
		}
    },
	//2.分享到朋友圈
    onShareTimeline(res) {
        return {
			title: this.share.title,
			path: this.share.path,
			imageUrl: this.share.imageUrl,
		}
    },
}
